Skip to main content

TSnapControl

Unit: sgTools

Description

The TSnapControl class defines the snap object.

Syntax

TSnapControl = class(TObject)

Properties

PropertiesDescription
Image-
SnapModeThe property sets or gets snap mode.
SnappedEntityThe property returns the TsgDXFEntity object exposed to snapping.

Methods

MethodsDescription
CreateThe method creates and initializes a new TSnapControl object.
DestroyThe method destroys an instance of the TSnapControl class.
GetMouseCoordThe method returns the point on the drawing respectively to the input mouse coordinates
GetMouseCoordUCSThe method returns the point in drawing's and UCS coordinates respectively to the input mouse coordinates